<script type="text/html" id="field_val">
    <a class="layui-btn layui-btn-sm" lay-event="field_val_optional">可选值</a>
    <a class="layui-btn layui-btn-danger layui-btn-sm" lay-event="field_val_default">默认值</a>
</script>